package com.rui.factory.abstract_.model;

import com.rui.factory.obj.Cappuccino;
import com.rui.factory.obj.Coffee;
import com.rui.factory.obj.Dessert;
import com.rui.factory.obj.Tiramisu;

/**
 * 意式风格工厂
 */
public class ItalyFactory implements CoffeeShopFactory {

    @Override
    public Coffee createCoffee() {
        return new Cappuccino();
    }

    @Override
    public Dessert createDessert() {
        return new Tiramisu();
    }
}